/*
 * QTSM Device Driver Implement
 *
 * Copyright (c) Huawei Technologies Co., Ltd. 2022. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 *
 * Lots of code copied from AWS nsm driver, and modified to be useful in qingtian_enclaves:
 * https://github.com/aws/aws-nitro-enclaves-sdk-bootstrap/blob/main/nsm-driver/nsm.c
 * Amazon Nitro Secure Module driver.
 * Copyright 2019-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 */
#ifndef _LINUX_VIRTIO_QTSM_H
#define _LINUX_VIRTIO_QTSM_H

#include <linux/types.h>
#include <linux/virtio_ids.h>
#include <linux/virtio_config.h>
#include <linux/virtio_types.h>

struct virtio_qtsm_config {
#define VIRTIO_QTSM_CONFIG_CMD_POWER_OFF	(1 << 0)
	__u32 cmd;
};

#endif
